﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Pages/CommonPages/MasterPageFontEnd.master" AutoEventWireup="true" CodeFile="detailDesign.aspx.cs" Inherits="Pages_HomePage_detailDesign" %>
<%@ Register TagPrefix="cp1" Assembly="CollectionPager" Namespace="SiteUtils" %>


<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

        <div class="conten-left_detailCompetition">       
            <h4>Designs</h4>    
        <div class="backgroudContent">                                             
            <div class="boxDetail">                              
                        <asp:Image ID="imgDesign" runat="server" />                    			        			        
                        <div class="boxDetail_left">
                            <asp:Label ID="lblDate" CssClass="date" ClientIDMode="Static" DataTextFormatString="{0:dd/MM/yyyy}" runat="server" ></asp:Label>
                            <br />
                            <asp:Label ID="lblNameDetail" CssClass="name" ClientIDMode="Static" runat="server" ></asp:Label>
                            <asp:TextBox ID="txtDescription" runat="server" Enabled="False" CssClass="txtDescription" TextMode="MultiLine" ClientIDMode="Static"></asp:TextBox>                        
                        </div>
            </div>
            <table class="table_left">
                <tr>
                    <td>
                    <asp:Label ID="lblName" runat="server" Text="Name :"></asp:Label>
                    </td>                
                </tr>
                <tr>
                    <td>
                    <asp:Label ID="lblPostdate" runat="server" Text="Post Date :"></asp:Label>
                    </td>                
                </tr>
                 <tr>
                    <td>
                    <asp:Label ID="lblquatation" runat="server" Text="Quatation :"></asp:Label>
                    </td>                
                </tr>
                 <tr>
                    <td>
                    <asp:Label ID="lblstudent" runat="server" Text="Student :"></asp:Label>
                    </td>                
                </tr>
                <tr>
                    <td>
                    <asp:Label ID="lblCompetition" runat="server" Text="Competition :"></asp:Label>
                    </td>                
                </tr>                                                 
            </table>
            <table class="table_right">
                <tr>
                    <td>
                    <asp:Label ID="lblShowName" runat="server" Text=""></asp:Label>
                    </td>
                </tr>
                <tr>
                     <td>
                    <asp:Label ID="lblShowPostdate" runat="server" Text=""></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                    <asp:Label ID="lblShowQuatation" runat="server" Text=""></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                    <asp:Label ID="lblShowStudent" runat="server" Text=""></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                    <asp:Label ID="lblShowCompetition" runat="server" Text=""></asp:Label>
                    </td>
                </tr>
            </table>   
            <div class="clear"></div>             
            <asp:TextBox ID="txtShowDescription" runat="server" ClientIDMode="Static" 
                TextMode="MultiLine" Enabled="False"></asp:TextBox>                                                               
        </div>   
        <div class="clear"></div>             
    </div>
    <div class="content_right_detailCompetition">  
            <h4>Top Image</h4>            
               
                    <asp:DataList ID="dtListImg" runat="server" Width="100%" RepeatColumns="3" RepeatDirection="Horizontal" RepeatLayout="Flow">
                        <ItemTemplate>  
                        <div class="dtListImg_item">                           
                            <asp:Image ID="img" runat="server" ImageUrl='<%# "~/Images/Design/" + Eval("designImage") %>' />                            
			                <a href='<%# "detailDesign.aspx?PID=" + Eval("designId") %>'>
                                <p><%# Eval("name")%></p>		
                            </a>                   
                        </div>   	            
                        </ItemTemplate>
                    </asp:DataList>                                    
                    <cp1:CollectionPager  runat="server" ID="collectionPager" 
                ClientIDMode="Static" 
                ControlCssClass="collectionPager" >
    
                    </cp1:CollectionPager>
    </div>    

</asp:Content>

